package org.sixtynine.stock.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * this will be using as the search criteria for loading modules
 * 
 * @author Thilanka
 * 
 */

public class LoadingSearchCriteria {
	private int companyId;
	private String companyName;
	private String sectorName;
	private int sectorId;
	private String code;
	private int fromYear;
	private int toYear;
	private String quarterCode;
	private int userCategoryId;
	private int filterCategoryId;
	private String name;
	private int duration;
	private String subSectorName;

	@DateTimeFormat(pattern = "dd/MM/yyyy")
	private Date fromDate;

	@DateTimeFormat(pattern = "dd/MM/yyyy")
	private Date toDate;

	public int getCompanyId() {
		return companyId;
	}

	public void setCompanyId(int companyId) {
		this.companyId = companyId;
	}

	public Date getFromDate() {
		return fromDate;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	public Date getToDate() {
		return toDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}

	public int getSectorId() {
		return sectorId;
	}

	public void setSectorId(int sectorId) {
		this.sectorId = sectorId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getFromYear() {
		return fromYear;
	}

	public void setFromYear(int fromYear) {
		this.fromYear = fromYear;
	}

	public int getToYear() {
		return toYear;
	}

	public void setToYear(int toYear) {
		this.toYear = toYear;
	}

	public String getQuarterCode() {
		return quarterCode;
	}

	public void setQuarterCode(String quarterCode) {
		this.quarterCode = quarterCode;
	}

	public int getUserCategoryId() {
		return userCategoryId;
	}

	public void setUserCategoryId(int userCategoryId) {
		this.userCategoryId = userCategoryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getFilterCategoryId() {
		return filterCategoryId;
	}

	public void setFilterCategoryId(int filterCategoryId) {
		this.filterCategoryId = filterCategoryId;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getSectorName() {
		return sectorName;
	}

	public void setSectorName(String sectorName) {
		this.sectorName = sectorName;
	}

	public String getSubSectorName() {
		return subSectorName;
	}

	public void setSubSectorName(String subSectorName) {
		this.subSectorName = subSectorName;
	}

}
